/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.freshdirect.src.dao;

import com.freshdirect.src.model.Order;
import com.freshdirect.src.model.Product;
import com.freshdirect.src.model.ShoppingCart;
import java.util.List;


/**
 *
 * @author Ilias
 */
public interface OrderDAO {

    
    //Create
    public int save(ShoppingCart cart, int userId);
    //Get All
    public List<Order> getAllById(int id);
    //Get by Group

    public void setDataSource(String user);
   
}
